#{extends 'main.html' /} #{set title:'Advanced Search' /}

 <script type="text/javascript"
	src="@{'/public/javascripts/Toggle/accordian-src.js'}"></script>
	
<script type="text/javascript"
	src="@{'/public/javascripts/Toggle/accordian.pack.js'}"></script>		 

<div id =main>
	
	
	<div id="basic-accordian" ><!--Parent of the Accordion-->


<div class="tab_container">
 <div  id="RELATION-header" class="accordion_headings header_highlight" >Advanced Search for Relations</div>

 <div id="IDEAS-header" class="accordion_headings " >Advanced Search For Ideas</div>
 
 <div id="Tags-header" class="accordion_headings" >Advanced Search For Tag</div>
   
 <div id="Entities-header" class="accordion_headings" >Advanced Search For Entities</div>
</div>

<div style="float:left;">

  <div id="RELATION-content">
	<div class="accordion_child">
    	<a href="@{AdvancedSearch.advancedSearch()}"></a>
			
			
			<form action="@{AdvancedSearch.searchForRelationNames()}" method="GET">

					
			<input placeholder="Search for Relations by name "class=input type="text" id="search" name="search"/><span style="color: #c00" class="error">#{error 'search' /}</span>
			<input class="buttonS red" type="submit" id= "submit1" name="search" value="Search" />

		</form>
<br/>
<form target="" action="@{AdvancedSearch.chooseEntityRelation()}" method="GET">



<input class="buttonS red" type="submit" id= "submit2" name="Entity" value="Search for Entity" />

</form>

<br/>
<form target="" action="@{AdvancedSearch.chooseTopicRelation()}" method="GET">

<input class="buttonS red" type="submit" id= "submit3" name="Topic" value="Search for Topic" />

</form>

<br/>
<form  target="" action="@{AdvancedSearch.chooseTagRelation()}" method="GET">



<input  class="buttonS red" type="submit" id= "submit4" name="Tag" value="Search for Tag" />

</form>
    	
    </div>
  </div>
  
  <div id="IDEAS-content">
	<div class="accordion_child">
    	<form  action="@{SearchForIdeas.searchIdeas()}" method="GET">
<input placeholder="Search for Ideas by name " class=input type="text" id="search" name="search" />

<input class="buttonS red" type="submit" id="submit" name="submit" value="Search" /></form>
		
		<form  action="@{SearchForIdeas.searchIdeasByRate()}" method="GET">
<input placeholder="Search for Ideas by rate " class=input type="text" id="searchOne" name="searchOne" />

<input class="buttonS red" type="submit" id="submit" name="submit" value="Search" /></form>

    </div>
  </div>
  
  <div id="Tags-content">
	<div class="accordion_child">
    	<form  action="@{Application.searchForTag()}" method="GET">
	Enter Tag name:<input type="text" id="search5" name="search5" /> <br>
	Add Tag name:<input type="text" id="search6" name="search6" />Optional
	<br> Add Tag name:<input type="text" id="search7"
		name="search7" />Optional <br>Add Tag name:<input type="text"
		id="search8" name="search8" />Optional <br/><br/> <input type="submit"
		id= "submit"  class="buttonS red" name="submit" value="Search" />

</form>
    </div>
  </div>
  
  <div id=Entities-content>
  <div class="accordion_child">
  
  <form  action="@{SearchForEntities.searchEntities()}" method="GET">
					<input class=input type="text" id="search" name="search" /> <input class="buttonS red"
						type="submit" id="submit" name="submit" value="Search"  /></form>
  
  </div>
  
  </div>
</div>







</div><!--End of accordion parent-->
	
	
  
  
  <iframe name="frame" Frameborder='0' width=100% height=200px >  </iframe>
  
  </div>
  
  
  
  
 
  









